package com.huashi.dealer.modular.business.address.param;

import com.huashi.dealer.modular.business.user.param.RegionInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * API地址响应参数
 *
 * @author 谭陈强
 * @since 2025-07-30
 */
@Data
@Schema(description = "API地址响应参数")
public class AddressResponseParam {

    @Schema(description = "地址列表")
    private List<AddressInfo> addressList;

    @Schema(description = "地址详情")
    private AddressInfo addressDetail;

    @Schema(description = "省市区列表")
    private List<RegionInfo> regionList;

    @Schema(description = "默认地址ID")
    private Long defaultId;

    @Schema(description = "是否存在地址")
    private Boolean hasAddress;

    @Schema(description = "总数")
    private Long total;

    @Schema(description = "当前页")
    private Integer currentPage;

    @Schema(description = "每页数量")
    private Integer perPage;

    @Schema(description = "最后页")
    private Integer lastPage;

    @Schema(description = "地址列表")
    private AddressListsVo addressLists;

    @Schema(description = "地区信息")
    private RegionInfo region;

} 